package com.fluxtool.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fluxtool.entity.Fluxlog;
import com.fluxtool.mapper.FluxLogMapper;
import com.fluxtool.service.FluxLogService;

@Service
public class FluxLogServiceImpl extends ServiceImpl<FluxLogMapper, Fluxlog> implements FluxLogService{

	@Autowired(required = false)
	private FluxLogMapper fluxLogMapper;
	
	@Override
	public List<Fluxlog> selectAllWhereEnble() {
		QueryWrapper<Fluxlog> queryWrapper = new QueryWrapper<Fluxlog>();
		queryWrapper.eq("id", 0);
		return baseMapper.selectList(queryWrapper);
	}

}
